scoreboard players add yL mt_surf_fill 1

#loop body
scoreboard players set zL mt_surf_fill 0
function mountain:surf_fill/loop_z

execute if score yL mt_surf_fill < y1 mt_surf_fill run function mountain:surf_fill/loop_y